import axios from "axios";
import { showLoadingToast,closeToast } from 'vant';
axios.interceptors.request.use((cofig) => {
    showLoadingToast({
        message: '加载中...',
        forbidClick: true,
    });
    return cofig
})
axios.interceptors.response.use((data) => {
    closeToast()
    return data
})
export default axios